66e36edd491b24dd0c6e6c6a88a02f9c3b343c81,redis/redis_console/src/msec/org/Tools.java,Tools,generateDaysChart,#String#ArrayList#OneAttrDaysChart#String#number#,199

Before Change


            jfreechart.getTitle().setPaint(ChartColor.gray);

            //线�
            xyplot.setRangeGridlinePaint(ChartColor.GRAY);
            xyplot.setBackgroundPaint(ChartColor.WHITE);
            xyplot.setOutlinePaint(null);//去掉边框


            int w = 500;

After Change


        try {
            XYPlot xyplot = (XYPlot) jfreechart.getPlot();
            //线�
            xyplot.setRangeGridlinePaint(ChartColor.GRAY);
            xyplot.setBackgroundPaint(ChartColor.WHITE);
            xyplot.setAxisOffset(new RectangleInsets(0, 0, 0, 0));
            xyplot.setOutlinePaint(null);//去掉边框
            //横轴
            DateAxis dateaxis = (DateAxis) xyplot.getDomainAxis();
            dateaxis.setDateFormatOverride(new SimpleDateFormat("MM/dd"));